IHipAnimation

Undocumented in source.

Members

Functions

addTrack
IHipAnimation addTrack(IHipAnimationTrack track)
Undocumented in source.
getCurrentFrame
HipAnimationFrame* getCurrentFrame()
Undocumented in source.
getCurrentRegion
IHipTextureRegion getCurrentRegion()
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentTrack
IHipAnimationTrack getCurrentTrack()
Undocumented in source.
getCurrentTrackName
string getCurrentTrackName()
Undocumented in source. Be warned that the author may not have intended to support it.
getTrack
IHipAnimationTrack getTrack(string trackName)
Undocumented in source.
play
void play(string trackName)
Undocumented in source.
setTimeScale
void setTimeScale(float scale)
Undocumented in source.
update
void update(float deltaTime)
Undocumented in source.

Static functions

createFromAtlas
IHipAnimation createFromAtlas(IHipTextureAtlas atlas, string animationName, uint framesPerSecond)

Creates an IHipAnimation from a loaded texture atlas. Its frames will be checked such as mySprite${frameNumber}. The animation will be named as the string without the number.

Meta